/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * GovernorView.java
 *
 * Created on 22.Eki.2010, 15:38:53
 */
package view.user;

import java.util.Observable;
import java.util.Observer;
import javax.swing.JButton;
import javax.swing.JLayeredPane;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import model.user.Governor;

/**
 *
 * @author CUNEYT
 */
public class GovernorView extends javax.swing.JPanel implements Observer {

    /** Creates new form GovernorView */
    public GovernorView() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        governorToolBar = new javax.swing.JToolBar();
        gSeeActiveCampaignsButton = new javax.swing.JButton();
        gSeeNegotiationsButton = new javax.swing.JButton();
        gSeeStaffUtilizationButton = new javax.swing.JButton();
        governorLayeredPane = new javax.swing.JLayeredPane();
        activeCampaignsPanel = new javax.swing.JPanel();
        activeCampaignsScrollPane = new javax.swing.JScrollPane();
        activeCampaignsList = new javax.swing.JList();
        campaignTypeLabel = new javax.swing.JLabel();
        campaignStartDateLabel = new javax.swing.JLabel();
        campaignEndDateLabel = new javax.swing.JLabel();
        campaignTypeTextField = new javax.swing.JTextField();
        campaignStartDateTextField = new javax.swing.JTextField();
        campaignEndDateTextField = new javax.swing.JTextField();
        campaignClientLabel = new javax.swing.JLabel();
        campaignClientTextField = new javax.swing.JTextField();
        campaignDirectorLabel = new javax.swing.JLabel();
        campaignDirectorTextField = new javax.swing.JTextField();
        campaignContactStaffLabel = new javax.swing.JLabel();
        campaignResponsibleTextField = new javax.swing.JTextField();
        campaignClientContactLabel = new javax.swing.JLabel();
        campaignClientContactTextField = new javax.swing.JTextField();
        staffScrollPane = new javax.swing.JScrollPane();
        staffList = new javax.swing.JList();
        staffInvolvedLabel = new javax.swing.JLabel();
        campaignDetailsLabel = new javax.swing.JLabel();
        currentNegotiationsPanel = new javax.swing.JPanel();
        activeCampaignsScrollPane1 = new javax.swing.JScrollPane();
        currentNegotiationsList = new javax.swing.JList();
        negotiationDetailsLabel = new javax.swing.JLabel();
        negotiationTypeTextField = new javax.swing.JTextField();
        negotiationStartDateTextField = new javax.swing.JTextField();
        negotiationEndDateTextField = new javax.swing.JTextField();
        negotiationClientTextField = new javax.swing.JTextField();
        negotiationDirectorTextField = new javax.swing.JTextField();
        negotiationDirectorLabel = new javax.swing.JLabel();
        negotiationClientLabel = new javax.swing.JLabel();
        negotiationEndDateLabel = new javax.swing.JLabel();
        negotiationStartDateLabel = new javax.swing.JLabel();
        negotiationTypeLabel = new javax.swing.JLabel();
        utilizationPanel = new javax.swing.JPanel();
        staffUtilizationScrollPane = new javax.swing.JScrollPane();
        staffUtilizationList = new javax.swing.JList();
        staffTasksScrollPane = new javax.swing.JScrollPane();
        staffTaskList = new javax.swing.JList();
        staffAppointmentsScrollPane = new javax.swing.JScrollPane();
        staffAppointmentsList = new javax.swing.JList();
        staffUtilizationTasksLabel = new javax.swing.JLabel();
        staffUtilizationAppointmentsLabel = new javax.swing.JLabel();
        appDateLabel = new javax.swing.JLabel();
        appDateTextField = new javax.swing.JTextField();
        appStartTimeTextField = new javax.swing.JTextField();
        appStartTimeLabel = new javax.swing.JLabel();
        appEndTimeLabel = new javax.swing.JLabel();
        appEndTimeTextField = new javax.swing.JTextField();
        appExplanationScrollPane = new javax.swing.JScrollPane();
        appExplanationTextArea = new javax.swing.JTextArea();
        appExplanationLabel = new javax.swing.JLabel();
        taskExplanationTextField = new javax.swing.JTextField();
        skillsRequiredTextField = new javax.swing.JTextField();
        taskExplanationLabel = new javax.swing.JLabel();
        skillsRequiredLabel = new javax.swing.JLabel();
        jLabel1 = new javax.swing.JLabel();
        taskEndTimeLabel = new javax.swing.JLabel();
        taskStartTimeLabel = new javax.swing.JLabel();
        taskEndDateLabel = new javax.swing.JLabel();
        taskStartDateLabel = new javax.swing.JLabel();
        taskStartDateTextField = new javax.swing.JTextField();
        taskEndDateTextField = new javax.swing.JTextField();
        taskStartTimeTextField = new javax.swing.JTextField();
        taskEndTimeTextField = new javax.swing.JTextField();
        relatedCampaignTextField = new javax.swing.JTextField();
        jSeparator1 = new javax.swing.JSeparator();

        governorToolBar.setFloatable(false);
        governorToolBar.setRollover(true);

        gSeeActiveCampaignsButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/campaign.png"))); // NOI18N
        gSeeActiveCampaignsButton.setText("CAMPAIGNS");
        gSeeActiveCampaignsButton.setFocusable(false);
        gSeeActiveCampaignsButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        gSeeActiveCampaignsButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        governorToolBar.add(gSeeActiveCampaignsButton);

        gSeeNegotiationsButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/handshake.png"))); // NOI18N
        gSeeNegotiationsButton.setText("NEGOTIATIONS");
        gSeeNegotiationsButton.setFocusable(false);
        gSeeNegotiationsButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        gSeeNegotiationsButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        governorToolBar.add(gSeeNegotiationsButton);

        gSeeStaffUtilizationButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/clients.png"))); // NOI18N
        gSeeStaffUtilizationButton.setText("UTILIZATION");
        gSeeStaffUtilizationButton.setFocusable(false);
        gSeeStaffUtilizationButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        gSeeStaffUtilizationButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        governorToolBar.add(gSeeStaffUtilizationButton);

        activeCampaignsList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        activeCampaignsList.setVisibleRowCount(-1);
        activeCampaignsScrollPane.setViewportView(activeCampaignsList);

        campaignTypeLabel.setText("Type");

        campaignStartDateLabel.setText("Start Date");

        campaignEndDateLabel.setText("End Date");

        campaignTypeTextField.setEditable(false);

        campaignStartDateTextField.setEditable(false);

        campaignEndDateTextField.setEditable(false);

        campaignClientLabel.setText("Client");

        campaignClientTextField.setEditable(false);

        campaignDirectorLabel.setText("Director");

        campaignDirectorTextField.setEditable(false);

        campaignContactStaffLabel.setText("Contact Staff");

        campaignResponsibleTextField.setEditable(false);

        campaignClientContactLabel.setText("Client Contact");

        campaignClientContactTextField.setEditable(false);

        staffList.setVisibleRowCount(-1);
        staffScrollPane.setViewportView(staffList);

        staffInvolvedLabel.setText("STAFF INVOLVED IN THE CAMPAIGN");
        staffInvolvedLabel.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);

        campaignDetailsLabel.setText("DETAILS OF THE SELECTED CAMPAIGN");
        campaignDetailsLabel.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);

        javax.swing.GroupLayout activeCampaignsPanelLayout = new javax.swing.GroupLayout(activeCampaignsPanel);
        activeCampaignsPanel.setLayout(activeCampaignsPanelLayout);
        activeCampaignsPanelLayout.setHorizontalGroup(
            activeCampaignsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(activeCampaignsPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(activeCampaignsScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 194, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(10, 10, 10)
                .addGroup(activeCampaignsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(activeCampaignsPanelLayout.createSequentialGroup()
                        .addComponent(campaignTypeLabel)
                        .addGap(48, 48, 48)
                        .addComponent(campaignTypeTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 280, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(activeCampaignsPanelLayout.createSequentialGroup()
                        .addComponent(campaignStartDateLabel)
                        .addGap(22, 22, 22)
                        .addComponent(campaignStartDateTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 280, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(activeCampaignsPanelLayout.createSequentialGroup()
                        .addComponent(campaignEndDateLabel)
                        .addGap(28, 28, 28)
                        .addComponent(campaignEndDateTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 280, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(activeCampaignsPanelLayout.createSequentialGroup()
                        .addComponent(campaignClientLabel)
                        .addGap(45, 45, 45)
                        .addComponent(campaignClientTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 280, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(activeCampaignsPanelLayout.createSequentialGroup()
                        .addComponent(campaignDirectorLabel)
                        .addGap(34, 34, 34)
                        .addComponent(campaignDirectorTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 280, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(activeCampaignsPanelLayout.createSequentialGroup()
                        .addComponent(campaignContactStaffLabel)
                        .addGap(7, 7, 7)
                        .addComponent(campaignResponsibleTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 280, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(activeCampaignsPanelLayout.createSequentialGroup()
                        .addComponent(campaignClientContactLabel)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(campaignClientContactTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 280, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(campaignDetailsLabel, javax.swing.GroupLayout.DEFAULT_SIZE, 378, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(activeCampaignsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(staffScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 202, Short.MAX_VALUE)
                    .addComponent(staffInvolvedLabel, javax.swing.GroupLayout.DEFAULT_SIZE, 202, Short.MAX_VALUE))
                .addContainerGap())
        );
        activeCampaignsPanelLayout.setVerticalGroup(
            activeCampaignsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(activeCampaignsPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(activeCampaignsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(activeCampaignsScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 378, Short.MAX_VALUE)
                    .addGroup(activeCampaignsPanelLayout.createSequentialGroup()
                        .addGroup(activeCampaignsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(staffInvolvedLabel)
                            .addComponent(campaignDetailsLabel))
                        .addGap(18, 18, 18)
                        .addGroup(activeCampaignsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(activeCampaignsPanelLayout.createSequentialGroup()
                                .addGroup(activeCampaignsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(campaignTypeLabel)
                                    .addComponent(campaignTypeTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGap(18, 18, 18)
                                .addGroup(activeCampaignsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(campaignStartDateLabel)
                                    .addComponent(campaignStartDateTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGap(18, 18, 18)
                                .addGroup(activeCampaignsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(campaignEndDateLabel)
                                    .addComponent(campaignEndDateTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGap(18, 18, 18)
                                .addGroup(activeCampaignsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(campaignClientLabel)
                                    .addComponent(campaignClientTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGap(18, 18, 18)
                                .addGroup(activeCampaignsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(campaignDirectorTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(campaignDirectorLabel))
                                .addGap(18, 18, 18)
                                .addGroup(activeCampaignsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(campaignResponsibleTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(campaignContactStaffLabel))
                                .addGap(18, 18, 18)
                                .addGroup(activeCampaignsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(campaignClientContactTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(campaignClientContactLabel)))
                            .addComponent(staffScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 346, Short.MAX_VALUE))))
                .addContainerGap())
        );

        activeCampaignsPanel.setBounds(10, 10, 810, 400);
        governorLayeredPane.add(activeCampaignsPanel, javax.swing.JLayeredPane.DEFAULT_LAYER);

        currentNegotiationsList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        currentNegotiationsList.setVisibleRowCount(-1);
        activeCampaignsScrollPane1.setViewportView(currentNegotiationsList);

        negotiationDetailsLabel.setText("DETAILS OF THE SELECTED NEGOTIATION");
        negotiationDetailsLabel.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);

        negotiationTypeTextField.setEditable(false);

        negotiationStartDateTextField.setEditable(false);

        negotiationEndDateTextField.setEditable(false);

        negotiationClientTextField.setEditable(false);

        negotiationDirectorTextField.setEditable(false);

        negotiationDirectorLabel.setText("Director");

        negotiationClientLabel.setText("Client");

        negotiationEndDateLabel.setText("End Date");

        negotiationStartDateLabel.setText("Start Date");

        negotiationTypeLabel.setText("Type");

        javax.swing.GroupLayout currentNegotiationsPanelLayout = new javax.swing.GroupLayout(currentNegotiationsPanel);
        currentNegotiationsPanel.setLayout(currentNegotiationsPanelLayout);
        currentNegotiationsPanelLayout.setHorizontalGroup(
            currentNegotiationsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(currentNegotiationsPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(activeCampaignsScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 194, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(10, 10, 10)
                .addGroup(currentNegotiationsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(currentNegotiationsPanelLayout.createSequentialGroup()
                        .addComponent(negotiationTypeLabel)
                        .addGap(48, 48, 48)
                        .addComponent(negotiationTypeTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 280, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(currentNegotiationsPanelLayout.createSequentialGroup()
                        .addComponent(negotiationStartDateLabel)
                        .addGap(22, 22, 22)
                        .addComponent(negotiationStartDateTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 280, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(currentNegotiationsPanelLayout.createSequentialGroup()
                        .addComponent(negotiationEndDateLabel)
                        .addGap(28, 28, 28)
                        .addComponent(negotiationEndDateTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 280, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(currentNegotiationsPanelLayout.createSequentialGroup()
                        .addComponent(negotiationClientLabel)
                        .addGap(45, 45, 45)
                        .addComponent(negotiationClientTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 280, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(currentNegotiationsPanelLayout.createSequentialGroup()
                        .addComponent(negotiationDirectorLabel)
                        .addGap(34, 34, 34)
                        .addComponent(negotiationDirectorTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 280, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(negotiationDetailsLabel, javax.swing.GroupLayout.DEFAULT_SIZE, 378, Short.MAX_VALUE))
                .addGap(218, 218, 218))
        );
        currentNegotiationsPanelLayout.setVerticalGroup(
            currentNegotiationsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(currentNegotiationsPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(currentNegotiationsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(activeCampaignsScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 378, Short.MAX_VALUE)
                    .addGroup(currentNegotiationsPanelLayout.createSequentialGroup()
                        .addComponent(negotiationDetailsLabel)
                        .addGap(18, 18, 18)
                        .addGroup(currentNegotiationsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(negotiationTypeLabel)
                            .addComponent(negotiationTypeTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(18, 18, 18)
                        .addGroup(currentNegotiationsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(negotiationStartDateLabel)
                            .addComponent(negotiationStartDateTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(18, 18, 18)
                        .addGroup(currentNegotiationsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(negotiationEndDateLabel)
                            .addComponent(negotiationEndDateTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(18, 18, 18)
                        .addGroup(currentNegotiationsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(negotiationClientLabel)
                            .addComponent(negotiationClientTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(18, 18, 18)
                        .addGroup(currentNegotiationsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(negotiationDirectorTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(negotiationDirectorLabel))))
                .addContainerGap())
        );

        currentNegotiationsPanel.setBounds(10, 10, 810, 400);
        governorLayeredPane.add(currentNegotiationsPanel, javax.swing.JLayeredPane.DEFAULT_LAYER);

        staffUtilizationList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        staffUtilizationList.setVisibleRowCount(-1);
        staffUtilizationScrollPane.setViewportView(staffUtilizationList);

        staffTaskList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        staffTaskList.setVisibleRowCount(-1);
        staffTasksScrollPane.setViewportView(staffTaskList);

        staffAppointmentsList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        staffAppointmentsList.setVisibleRowCount(-1);
        staffAppointmentsScrollPane.setViewportView(staffAppointmentsList);

        staffUtilizationTasksLabel.setText("TASKS OF THE SELECTED STAFF MEMBER");

        staffUtilizationAppointmentsLabel.setText("APPOINTMENTS OF THE SELECTED STAFF");

        appDateLabel.setText("Date");

        appDateTextField.setEditable(false);

        appStartTimeTextField.setEditable(false);

        appStartTimeLabel.setText("Start Time");

        appEndTimeLabel.setText("End Time");

        appEndTimeTextField.setEditable(false);

        appExplanationTextArea.setColumns(20);
        appExplanationTextArea.setEditable(false);
        appExplanationTextArea.setRows(5);
        appExplanationScrollPane.setViewportView(appExplanationTextArea);

        appExplanationLabel.setText("Explanation");

        taskExplanationTextField.setEditable(false);

        skillsRequiredTextField.setEditable(false);

        taskExplanationLabel.setText("Explanation");

        skillsRequiredLabel.setText("Skill Required");

        jLabel1.setText("Related Campaign");

        taskEndTimeLabel.setText("End Time");

        taskStartTimeLabel.setText("Start Time");

        taskEndDateLabel.setText("End Date");

        taskStartDateLabel.setText("Start Date");

        taskStartDateTextField.setEditable(false);

        taskEndDateTextField.setEditable(false);

        taskStartTimeTextField.setEditable(false);

        taskEndTimeTextField.setEditable(false);

        relatedCampaignTextField.setEditable(false);

        javax.swing.GroupLayout utilizationPanelLayout = new javax.swing.GroupLayout(utilizationPanel);
        utilizationPanel.setLayout(utilizationPanelLayout);
        utilizationPanelLayout.setHorizontalGroup(
            utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(utilizationPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(staffUtilizationScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 196, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(utilizationPanelLayout.createSequentialGroup()
                        .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(staffTasksScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 217, Short.MAX_VALUE)
                            .addComponent(staffUtilizationTasksLabel, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 217, Short.MAX_VALUE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(utilizationPanelLayout.createSequentialGroup()
                                .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(taskExplanationLabel)
                                    .addComponent(jLabel1)
                                    .addComponent(taskEndTimeLabel)
                                    .addComponent(taskStartTimeLabel)
                                    .addComponent(taskEndDateLabel)
                                    .addComponent(taskStartDateLabel))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(relatedCampaignTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 272, Short.MAX_VALUE)
                                    .addComponent(taskStartTimeTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 272, Short.MAX_VALUE)
                                    .addComponent(taskStartDateTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 272, Short.MAX_VALUE)
                                    .addComponent(taskEndDateTextField, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 272, Short.MAX_VALUE)
                                    .addComponent(taskEndTimeTextField, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 272, Short.MAX_VALUE)
                                    .addComponent(taskExplanationTextField, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 272, Short.MAX_VALUE)))
                            .addGroup(utilizationPanelLayout.createSequentialGroup()
                                .addComponent(skillsRequiredLabel)
                                .addGap(28, 28, 28)
                                .addComponent(skillsRequiredTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 272, Short.MAX_VALUE)))
                        .addGap(2, 2, 2))
                    .addComponent(jSeparator1, javax.swing.GroupLayout.DEFAULT_SIZE, 588, Short.MAX_VALUE)
                    .addGroup(utilizationPanelLayout.createSequentialGroup()
                        .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(staffUtilizationAppointmentsLabel)
                            .addComponent(staffAppointmentsScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 220, Short.MAX_VALUE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(appEndTimeLabel)
                            .addComponent(appExplanationLabel)
                            .addComponent(appStartTimeLabel)
                            .addComponent(appDateLabel))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 24, Short.MAX_VALUE)
                        .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(appExplanationScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 284, Short.MAX_VALUE)
                            .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                .addComponent(appEndTimeTextField)
                                .addComponent(appStartTimeTextField)
                                .addComponent(appDateTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 284, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                .addContainerGap())
        );
        utilizationPanelLayout.setVerticalGroup(
            utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(utilizationPanelLayout.createSequentialGroup()
                .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, utilizationPanelLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(staffUtilizationScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 382, Short.MAX_VALUE))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, utilizationPanelLayout.createSequentialGroup()
                        .addGap(20, 20, 20)
                        .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(utilizationPanelLayout.createSequentialGroup()
                                .addComponent(staffUtilizationTasksLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(staffTasksScrollPane))
                            .addGroup(utilizationPanelLayout.createSequentialGroup()
                                .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(taskStartDateTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(taskStartDateLabel))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(taskEndDateTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(taskEndDateLabel))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(taskStartTimeTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(taskStartTimeLabel))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(taskEndTimeTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(taskEndTimeLabel))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(relatedCampaignTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel1))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(skillsRequiredTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(skillsRequiredLabel))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(taskExplanationTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(taskExplanationLabel))))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 11, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(utilizationPanelLayout.createSequentialGroup()
                                .addComponent(staffUtilizationAppointmentsLabel)
                                .addGap(5, 5, 5)
                                .addComponent(staffAppointmentsScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE))
                            .addGroup(utilizationPanelLayout.createSequentialGroup()
                                .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(appDateTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(appDateLabel))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(appStartTimeTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(appStartTimeLabel))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(appEndTimeTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(appEndTimeLabel))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(utilizationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(utilizationPanelLayout.createSequentialGroup()
                                        .addComponent(appExplanationLabel)
                                        .addGap(82, 82, 82))
                                    .addComponent(appExplanationScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))))
                .addContainerGap())
        );

        utilizationPanel.setBounds(10, 10, 810, 400);
        governorLayeredPane.add(utilizationPanel, javax.swing.JLayeredPane.DEFAULT_LAYER);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(governorLayeredPane, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 845, Short.MAX_VALUE)
                    .addComponent(governorToolBar, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 845, Short.MAX_VALUE))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(governorToolBar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(governorLayeredPane, javax.swing.GroupLayout.DEFAULT_SIZE, 431, Short.MAX_VALUE)
                .addContainerGap())
        );
    }// </editor-fold>//GEN-END:initComponents

    public JList getActiveCampaignsList() {
        return activeCampaignsList;
    }

    public void setActiveCampaignsList(JList activeCampaignsList) {
        this.activeCampaignsList = activeCampaignsList;
    }

    public JPanel getActiveCampaignsPanel() {
        return activeCampaignsPanel;
    }

    public void setActiveCampaignsPanel(JPanel activeCampaignsPanel) {
        this.activeCampaignsPanel = activeCampaignsPanel;
    }

    public JTextField getCampaignClientContactTextField() {
        return campaignClientContactTextField;
    }

    public void setCampaignClientContactTextField(JTextField campaignClientContactTextField) {
        this.campaignClientContactTextField = campaignClientContactTextField;
    }

    public JTextField getCampaignClientTextField() {
        return campaignClientTextField;
    }

    public void setCampaignClientTextField(JTextField campaignClientTextField) {
        this.campaignClientTextField = campaignClientTextField;
    }

    public JTextField getCampaignDirectorTextField() {
        return campaignDirectorTextField;
    }

    public void setCampaignDirectorTextField(JTextField campaignDirectorTextField) {
        this.campaignDirectorTextField = campaignDirectorTextField;
    }

    public JTextField getCampaignEndDateTextField() {
        return campaignEndDateTextField;
    }

    public void setCampaignEndDateTextField(JTextField campaignEndDateTextField) {
        this.campaignEndDateTextField = campaignEndDateTextField;
    }

    public JTextField getCampaignResponsibleTextField() {
        return campaignResponsibleTextField;
    }

    public void setCampaignResponsibleTextField(JTextField campaignResponsibleTextField) {
        this.campaignResponsibleTextField = campaignResponsibleTextField;
    }

    public JTextField getCampaignStartDateTextField() {
        return campaignStartDateTextField;
    }

    public void setCampaignStartDateTextField(JTextField campaignStartDateTextField) {
        this.campaignStartDateTextField = campaignStartDateTextField;
    }

    public JTextField getCampaignTypeTextField() {
        return campaignTypeTextField;
    }

    public void setCampaignTypeTextField(JTextField campaignTypeTextField) {
        this.campaignTypeTextField = campaignTypeTextField;
    }

    public JButton getgSeeActiveCampaignsButton() {
        return gSeeActiveCampaignsButton;
    }

    public void setgSeeActiveCampaignsButton(JButton gSeeActiveCampaignsButton) {
        this.gSeeActiveCampaignsButton = gSeeActiveCampaignsButton;
    }

    public JButton getgSeeNegotiationsButton() {
        return gSeeNegotiationsButton;
    }

    public void setgSeeNegotiationsButton(JButton gSeeNegotiationsButton) {
        this.gSeeNegotiationsButton = gSeeNegotiationsButton;
    }

    public JButton getgSeeStaffUtilizationButton() {
        return gSeeStaffUtilizationButton;
    }

    public void setgSeeStaffUtilizationButton(JButton gSeeStaffUtilizationButton) {
        this.gSeeStaffUtilizationButton = gSeeStaffUtilizationButton;
    }

    public JLayeredPane getGovernorLayeredPane() {
        return governorLayeredPane;
    }

    public void setGovernorLayeredPane(JLayeredPane governorLayeredPane) {
        this.governorLayeredPane = governorLayeredPane;
    }

    public JList getStaffList() {
        return staffList;
    }

    public void setStaffList(JList staffList) {
        this.staffList = staffList;
    }

    public JPanel getCurrentNegotiationsPanel() {
        return currentNegotiationsPanel;
    }

    public void setCurrentNegotiationsPanel(JPanel currentNegotiationsPanel) {
        this.currentNegotiationsPanel = currentNegotiationsPanel;
    }

    public JList getCurrentNegotiationsList() {
        return currentNegotiationsList;
    }

    public void setCurrentNegotiationsList(JList currentNegotiationsList) {
        this.currentNegotiationsList = currentNegotiationsList;
    }

    public JTextField getNegotiationClientTextField() {
        return negotiationClientTextField;
    }

    public void setNegotiationClientTextField(JTextField negotiationClientTextField) {
        this.negotiationClientTextField = negotiationClientTextField;
    }

    public JTextField getNegotiationDirectorTextField() {
        return negotiationDirectorTextField;
    }

    public void setNegotiationDirectorTextField(JTextField negotiationDirectorTextField) {
        this.negotiationDirectorTextField = negotiationDirectorTextField;
    }

    public JTextField getNegotiationEndDateTextField() {
        return negotiationEndDateTextField;
    }

    public void setNegotiationEndDateTextField(JTextField negotiationEndDateTextField) {
        this.negotiationEndDateTextField = negotiationEndDateTextField;
    }

    public JTextField getNegotiationStartDateTextField() {
        return negotiationStartDateTextField;
    }

    public void setNegotiationStartDateTextField(JTextField negotiationStartDateTextField) {
        this.negotiationStartDateTextField = negotiationStartDateTextField;
    }

    public JTextField getNegotiationTypeTextField() {
        return negotiationTypeTextField;
    }

    public void setNegotiationTypeTextField(JTextField negotiationTypeTextField) {
        this.negotiationTypeTextField = negotiationTypeTextField;
    }

    public JPanel getUtilizationPanel() {
        return utilizationPanel;
    }

    public void setUtilizationPanel(JPanel utilizationPanel) {
        this.utilizationPanel = utilizationPanel;
    }

    public JTextField getAppDateTextField() {
        return appDateTextField;
    }

    public void setAppDateTextField(JTextField appDateTextField) {
        this.appDateTextField = appDateTextField;
    }

    public JTextField getAppEndTimeTextField() {
        return appEndTimeTextField;
    }

    public void setAppEndTimeTextField(JTextField appEndTimeTextField) {
        this.appEndTimeTextField = appEndTimeTextField;
    }

    public JTextArea getAppExplanationTextArea() {
        return appExplanationTextArea;
    }

    public void setAppExplanationTextArea(JTextArea appExplanationTextArea) {
        this.appExplanationTextArea = appExplanationTextArea;
    }

    public JTextField getAppStartTimeTextField() {
        return appStartTimeTextField;
    }

    public void setAppStartTimeTextField(JTextField appStartTimeTextField) {
        this.appStartTimeTextField = appStartTimeTextField;
    }

    public JTextField getRelatedCampaignTextField() {
        return relatedCampaignTextField;
    }

    public void setRelatedCampaignTextField(JTextField relatedCampaignTextField) {
        this.relatedCampaignTextField = relatedCampaignTextField;
    }

    public JTextField getSkillsRequiredTextField() {
        return skillsRequiredTextField;
    }

    public void setSkillsRequiredTextField(JTextField skillsRequiredTextField) {
        this.skillsRequiredTextField = skillsRequiredTextField;
    }

    public JList getStaffTaskList() {
        return staffTaskList;
    }

    public void setStaffTaskList(JList staffTaskList) {
        this.staffTaskList = staffTaskList;
    }

    public JList getStaffUtilizationList() {
        return staffUtilizationList;
    }

    public void setStaffUtilizationList(JList staffUtilizationList) {
        this.staffUtilizationList = staffUtilizationList;
    }

    public JTextField getTaskEndDateTextField() {
        return taskEndDateTextField;
    }

    public void setTaskEndDateTextField(JTextField taskEndDateTextField) {
        this.taskEndDateTextField = taskEndDateTextField;
    }

    public JTextField getTaskEndTimeTextField() {
        return taskEndTimeTextField;
    }

    public void setTaskEndTimeTextField(JTextField taskEndTimeTextField) {
        this.taskEndTimeTextField = taskEndTimeTextField;
    }

    public JTextField getTaskExplanationTextField() {
        return taskExplanationTextField;
    }

    public void setTaskExplanationTextField(JTextField taskExplanationTextField) {
        this.taskExplanationTextField = taskExplanationTextField;
    }

    public JTextField getTaskStartDateTextField() {
        return taskStartDateTextField;
    }

    public void setTaskStartDateTextField(JTextField taskStartDateTextField) {
        this.taskStartDateTextField = taskStartDateTextField;
    }

    public JTextField getTaskStartTimeTextField() {
        return taskStartTimeTextField;
    }

    public void setTaskStartTimeTextField(JTextField taskStartTimeTextField) {
        this.taskStartTimeTextField = taskStartTimeTextField;
    }

    public JList getStaffAppointmentsList() {
        return staffAppointmentsList;
    }

    public void setStaffAppointmentsList(JList staffAppointmentsList) {
        this.staffAppointmentsList = staffAppointmentsList;
    }

    public void update(Observable o, Object arg) {
        Governor g = (Governor) arg;
        activeCampaignsList.setModel(new ACIListModel(g.getActiveCampaigns()));
        currentNegotiationsList.setModel(new ACIListModel(g.getCurrentNegotiations()));
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JList activeCampaignsList;
    private javax.swing.JPanel activeCampaignsPanel;
    private javax.swing.JScrollPane activeCampaignsScrollPane;
    private javax.swing.JScrollPane activeCampaignsScrollPane1;
    private javax.swing.JLabel appDateLabel;
    private javax.swing.JTextField appDateTextField;
    private javax.swing.JLabel appEndTimeLabel;
    private javax.swing.JTextField appEndTimeTextField;
    private javax.swing.JLabel appExplanationLabel;
    private javax.swing.JScrollPane appExplanationScrollPane;
    private javax.swing.JTextArea appExplanationTextArea;
    private javax.swing.JLabel appStartTimeLabel;
    private javax.swing.JTextField appStartTimeTextField;
    private javax.swing.JLabel campaignClientContactLabel;
    private javax.swing.JTextField campaignClientContactTextField;
    private javax.swing.JLabel campaignClientLabel;
    private javax.swing.JTextField campaignClientTextField;
    private javax.swing.JLabel campaignContactStaffLabel;
    private javax.swing.JLabel campaignDetailsLabel;
    private javax.swing.JLabel campaignDirectorLabel;
    private javax.swing.JTextField campaignDirectorTextField;
    private javax.swing.JLabel campaignEndDateLabel;
    private javax.swing.JTextField campaignEndDateTextField;
    private javax.swing.JTextField campaignResponsibleTextField;
    private javax.swing.JLabel campaignStartDateLabel;
    private javax.swing.JTextField campaignStartDateTextField;
    private javax.swing.JLabel campaignTypeLabel;
    private javax.swing.JTextField campaignTypeTextField;
    private javax.swing.JList currentNegotiationsList;
    private javax.swing.JPanel currentNegotiationsPanel;
    private javax.swing.JButton gSeeActiveCampaignsButton;
    private javax.swing.JButton gSeeNegotiationsButton;
    private javax.swing.JButton gSeeStaffUtilizationButton;
    private javax.swing.JLayeredPane governorLayeredPane;
    private javax.swing.JToolBar governorToolBar;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JSeparator jSeparator1;
    private javax.swing.JLabel negotiationClientLabel;
    private javax.swing.JTextField negotiationClientTextField;
    private javax.swing.JLabel negotiationDetailsLabel;
    private javax.swing.JLabel negotiationDirectorLabel;
    private javax.swing.JTextField negotiationDirectorTextField;
    private javax.swing.JLabel negotiationEndDateLabel;
    private javax.swing.JTextField negotiationEndDateTextField;
    private javax.swing.JLabel negotiationStartDateLabel;
    private javax.swing.JTextField negotiationStartDateTextField;
    private javax.swing.JLabel negotiationTypeLabel;
    private javax.swing.JTextField negotiationTypeTextField;
    private javax.swing.JTextField relatedCampaignTextField;
    private javax.swing.JLabel skillsRequiredLabel;
    private javax.swing.JTextField skillsRequiredTextField;
    private javax.swing.JList staffAppointmentsList;
    private javax.swing.JScrollPane staffAppointmentsScrollPane;
    private javax.swing.JLabel staffInvolvedLabel;
    private javax.swing.JList staffList;
    private javax.swing.JScrollPane staffScrollPane;
    private javax.swing.JList staffTaskList;
    private javax.swing.JScrollPane staffTasksScrollPane;
    private javax.swing.JLabel staffUtilizationAppointmentsLabel;
    private javax.swing.JList staffUtilizationList;
    private javax.swing.JScrollPane staffUtilizationScrollPane;
    private javax.swing.JLabel staffUtilizationTasksLabel;
    private javax.swing.JLabel taskEndDateLabel;
    private javax.swing.JTextField taskEndDateTextField;
    private javax.swing.JLabel taskEndTimeLabel;
    private javax.swing.JTextField taskEndTimeTextField;
    private javax.swing.JLabel taskExplanationLabel;
    private javax.swing.JTextField taskExplanationTextField;
    private javax.swing.JLabel taskStartDateLabel;
    private javax.swing.JTextField taskStartDateTextField;
    private javax.swing.JLabel taskStartTimeLabel;
    private javax.swing.JTextField taskStartTimeTextField;
    private javax.swing.JPanel utilizationPanel;
    // End of variables declaration//GEN-END:variables
}
